package com.bytedance.article.common.a.d;

import android.support.annotation.NonNull;

import com.bytedance.frameworks.core.thread.e;
import com.bytedance.framwork.core.monitor.c;

import java.util.LinkedList;

final class b extends e {
    private final a a;

    b(a arg1) {
        this.a = arg1;
    }

    public final void run() {
        LinkedList v2;
        LinkedList v1;
        if (c.j() == null) {
            return;
        }

        v1 = new LinkedList();
        v2 = this.a.a;
        synchronized (v2) {
            v1.addAll(this.a.a);
            this.a.a.clear();
        }
        while (!v1.isEmpty()) {
            Object v0_1 = v1.poll();
            if (v0_1 == null) {
                continue;
            }

            com.bytedance.article.common.a.d.c.a().a(((com.bytedance.article.common.a.d.c.a) v0_1).a, ((com.bytedance.article.common.a.d.c.a) v0_1).b, null, false);
        }

    }

    @Override
    public void f(@NonNull Object o) {

    }
}

